There is no shortcut afaik.
Just use
#declare limit1= function(a) {max(0,min(1,a))}
or somethink like that.
Feel free to add this to your "functions.inc" or some other include-file you
are using frequently. There is really no need to build in everythink in the
Pov-Code.
Hth,
Marc-Hendrik
Post a reply to this message
|